<%@ page language="java" contentType="text/html; charset=utf-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%String path = request.getContextPath(); %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
		"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>${sessionScope.SESSION_STREET_THEME.thSiteTitle}</title>
	<link href="<%=path %>/res/themes/layout/layout.css" rel="stylesheet" type="text/css"/>
	<link href="<%=path %>/res/themes/${sessionScope.SESSION_STREET_THEME.thStyle}/css/style.css" rel="stylesheet" type="text/css"/>
	<link href="<%=path %>/pages/inc/themes.jsp" rel="stylesheet" type="text/css"/>
	
	<script type="text/javascript" src="<%=path %>/res/js/jquery.js"></script>
</head>
<body>
<div class="page">
	<div class="header">
		<%@ include file="inc/header.jsp"%>
	</div>
	<div class="body">
		<div class="left">
			<s:iterator var="lNodes" value="#session.SESSION_STREET_PORTLET">
				<s:if test="#lNodes.portletPosition == \"l\"">
					<s:set var="lPath" value="#lNodes.portletPath" />
					<s:set var="lTitle" value="#lNodes.portletTitle" />
					<s:set var="lShowTitle" value="#lNodes.displayTitle" />
					<jsp:include page="${lPath}">
						<jsp:param value="${lTitle}" name="title"/>
						<jsp:param value="${lShowTitle}" name="showTitle"/>
					</jsp:include>
				</s:if>
			</s:iterator>
		</div>
		<div class="tpad">
			<div class="center">
				<s:iterator var="cNodes" value="#session.SESSION_STREET_PORTLET">
					<s:if test="#cNodes.portletPosition == \"c\"">
						<s:set var="cPath" value="#cNodes.portletPath" />
						<s:set var="cTitle" value="#cNodes.portletTitle" />
						<s:set var="cShowTitle" value="#cNodes.displayTitle" />
						<jsp:include page="${cPath}">
							<jsp:param value="${cTitle}" name="title"/>
							<jsp:param value="${cShowTitle}" name="showTitle"/>
						</jsp:include>
					</s:if>
				</s:iterator>
			</div>
			<div class="right">
				<s:iterator var="rNodes" value="#session.SESSION_STREET_PORTLET">
					<s:if test="#rNodes.portletPosition == \"r\"">
						<s:set var="rPath" value="#rNodes.portletPath" />
						<s:set var="rTitle" value="#rNodes.portletTitle" />
						<s:set var="rShowTitle" value="#rNodes.displayTitle" />
						<jsp:include page="${rPath}">
							<jsp:param value="${rTitle}" name="title"/>
							<jsp:param value="${rShowTitle}" name="showTitle"/>
						</jsp:include>
					</s:if>
				</s:iterator>
			</div>
		</div>
		<div class="clear"></div>
	</div>
	<div class="footer">
		<%@ include file="inc/footer.jsp"%>
	</div>
</div>
</body>
</html>